package com.wing.cabinet.model.response;

import com.wing.cabinet.model.entity.StorageInventoryProduct;
import com.wing.cabinet.utils.ExcelExport;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;

/**
 * 暂存柜产品库存VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class StorageInventoryProductVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * sku id
     */
    private Long skuId;

    /**
     * 库存数量
     */
    private Integer quantity;

    /**
     * 企业id
     */
    private Long companyId;

    /**
     * 货道id
     */
    private Integer spaceId;

    /**
     * (0正常，1告警)
     */
    //@ExcelExport(value = "状态",sort = 10)
    private Long status;

    /**
     * 货道编号
     */
    private String spaceCode;

    /**
     * 柜子编号
     */
    private String cabCode;

    /**
     * sku 编号
     */
    @ExcelExport(value = "物料编号",sort = 20)
    private String skuCode;

    /**
     * sku 名称
     */
    @ExcelExport(value = "物料名称",sort = 10)
    private String skuName;

    /**
     * sku 规格
     */
    private String skuSpec;

    /**
     * sku 图片
     */
    private String skuPic;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品类型名称
     */
    private String productTypeName;

    /**
     * 产品分类名称
     */
    private String productCategoryName;

    /**
     * 产品品牌
     */
    @ExcelExport(value = "品牌",sort = 40)
    private String productBrandName;

    private StorageInventoryProduct.BusinessType businessType;
    //@ExcelExport(value = "包装规格",sort = 41)
    private String packName;
    @ExcelExport(value = "上新数量（包装计）",sort = 50)
    private Integer quantityNew;
    @ExcelExport(value = "暂存数量（包装计）",sort = 60)
    private Integer quantityTemp;

    @ExcelExport(value = "报修数量（包装计）",sort = 70)
    private Integer quantityRepair;

    @ExcelExport(value = "报废数量（包装计）",sort = 80)
    private Integer quantityRecycle;
    @ExcelExport(value = "包装单位",sort = 80)
    private String unitName;

    @ExcelExport(value = "上新数量（基础单位计）",sort = 81)
    private Integer quantityPackNew;
    @ExcelExport(value = "暂存数量（基础单位计）",sort = 82)
    private Integer quantityPackTemp;

    @ExcelExport(value = "报修数量（基础单位计）",sort = 83)
    private Integer quantityPackRepair;

    @ExcelExport(value = "报废数量（基础单位计）",sort = 84)
    private Integer quantityPackRecycle;

    @ExcelExport(value = "基础单位",sort = 89)
    private String basicsUnitName;

    @ExcelExport(value = "柜子数量",sort = 90)
    private Integer cabNum;

    @ExcelExport(value = "货位数量",sort = 100)
    private Integer spaceNum;

    @ExcelExport(value = "规格码",sort =30 )
    private String skuSpecOld;

    private String skuCodeOld;

    /**
     * 企业编码
     */
    private String enterpriseCode;

    private Integer quantityPack;

    private Integer quantityPackUnit;

    private Long packId;






}
